package com.wkck.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "job.jwt")
@Component
public class JwtProperties {

    /**
     * 管理端生成jwt令牌相关配置
     */
    private String adminSecretKey;

    private long adminTtl;

    private String adminTokenName;

    private String userSecretKey;

    private long userTtl;

    private String userTokenName;
}

